UniKey API Sample
===============================================================

Compilation notes
---------------------------------------------------------------
1. Link with .a library
2. It works via generic USB interface, so no HID module is needed
3. Please modify the udev rule file 

		a. for Ubuntu(7.10) (/etc/udev/rules.d/40-permissions.rules)
		add these lines at the end of the file
		# UniKey 
		ATTRS{idVendor}=="0403", ATTRS{idProduct}=="c580", MODE="0666"

		for Ubuntu(8.04/8.10) (/etc/udev/rules.d/40-basic-permissions.rules)
		add these lines at the end of the file
		# UniKey 
		ATTRS{idVendor}=="0403", ATTRS{idProduct}=="c580", MODE="0666"

		for Ubuntu(9.04) (/etc/udev/rules.d/40-permissions.rules) 
		add these lines at the end of the file
		# UniKey 
		ATTRS{idVendor}=="0403", ATTRS{idProduct}=="c580", MODE="0666"

		for Ubuntu(9.10) (/lib/udev/rules.d/50-udev-defaulet.rules)
		add these lines at the end of the file
		# UniKey 
		ATTRS{idVendor}=="0403", ATTRS{idProduct}=="c580", MODE="0666"
		

		
		b. for Fedora Core (/etc/udev/rules.d/50-udev.rules)
		### original ###
		ACTION=="add", SUBSYSTEM=="usb_device", \
		PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", \
		NAME="%c", MODE="0660" 
		### end of original ###
		to 
		ACTION=="add", SUBSYSTEM=="usb_device", \
		PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", \
		NAME="%c", MODE="0666" 
		### end of modification ###		
		

Supported enviroments
---------------------------------------------------------------
Programming Language: GCC
Platform: Linux with Kernel 2.4 and above
APIs: all UniKey APIs, ver 2.0

Trademarks
---------------------------------------------------------------
SecuTech Solution Inc. All rights reserved.






